#!/usr/bin/env sh

#start php-fpm
/usr/sbin/php-fpm7 &

#start nginx
#/usr/sbin/nginx -g daemon off
/usr/sbin/nginx -c /etc/nginx/nginx.conf &

#start redis
/usr/bin/redis-server /etc/redis/redis.conf &

# handle filesystem permission
chown www:www -R /var/www
